package com.shen.demo.modules.backdoor.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
// 内层 Resources
public class Resources {
    @JacksonXmlProperty(isAttribute = true)
    private String source;
    
    @JacksonXmlProperty(isAttribute = true)
    private String version;

    @JacksonXmlProperty(isAttribute = true,localName = "operation")
    private String operation;

    
    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "resource")
    private List<Resource> resource;

    // getters/setters
}